<!DOCTYPE HTML>
<html>
  <head>
    <title>管理系统 － <?php echo SITE_NAME; ?> | 团购导航网站大全</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="keywords" content=" 团购, 导航, 拉手, 美团, <?php echo SITE_NAME; ?>">
    <meta name="description" content="中国最精准全面又实惠的团购导航网站">
    <link rel="shortcut icon" href="<?php echo base_url(); ?>code/images/icon.ico" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>code/ttz.css" media="screen">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>code/extjs/resources/css/ext-all.css" />
  </head>
  <body>
    <div id="wrapper">
      <?php require('head.php'); ?>
      <?php require('admin/nav.php'); ?>

      <?php require('admin/sub_view.php'); ?>
    </div><!-- end #wrapper -->
    <div class="clear"></div>

    <select name="type_id" id="type_id" style="display: none;">
	<?php
	if (is_array($templates))
	{
		foreach ($templates as $t)
		{
			echo "<option value=$t>$t</option>\n";
		}
	}
	?>
	</select>
	<select name="launch_id" id="launch_id" style="display: none;">
		<option value="停止">停止</option>
		<option value="启动">启动</option>
	</select>
	<select name="status" id="status" style="display: none;">
		<option value="待审核">待审核</option>
		<option value="审核通过并抓取">审核通过并抓取</option>
	</select>
	<select name="role_id" id="role_id" style="display: none;">
		<option value="普通用户">普通用户</option>
		<option value="管理员">管理员</option>
	</select>

	<select name="tag_category_id" id="tag_category_id" style="display: none;">
	<?php
	if (isset($cats) && is_array($cats))
	{
		foreach ($cats as $key => $val)
		{
			echo "<option value=$key>$key</option>\n";
		}
	}
	?>
	</select>

	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/ext-all.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/app.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/writer-<?php echo $sub_view?>.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/<?php echo $sub_view?>-grid.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>code/extjs/SearchField.js"></script>

    <?php require('foot.php'); ?>

